[INFO] fetching crate osclientcerts 0.1.2...
[INFO] building osclientcerts-0.1.2 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate osclientcerts 0.1.2 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate osclientcerts 0.1.2 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate osclientcerts 0.1.2
[INFO] finished tweaking crates.io crate osclientcerts 0.1.2
[INFO] tweaked toml for crates.io crate osclientcerts 0.1.2 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1f660ad8e86f77118dd9a67570d1bd64712fac9639d049f13bed017c0b4d6ec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b1f660ad8e86f77118dd9a67570d1bd64712fac9639d049f13bed017c0b4d6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1f660ad8e86f77118dd9a67570d1bd64712fac9639d049f13bed017c0b4d6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1f660ad8e86f77118dd9a67570d1bd64712fac9639d049f13bed017c0b4d6ec", kill_on_drop: false }`
[INFO] [stdout] b1f660ad8e86f77118dd9a67570d1bd64712fac9639d049f13bed017c0b4d6ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cbea4edd27df376e4eefba3e0592ea327a18deed95617b58cd4906922d79efc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8cbea4edd27df376e4eefba3e0592ea327a18deed95617b58cd4906922d79efc", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bindgen v0.58.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling shlex v1.0.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clang-sys v1.2.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling osclientcerts v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bindgen`
[INFO] [stdout]  --> build.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bindgen;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> build.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> build.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `build_script_build`
[INFO] [stdout]   --> build.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / use bindgen;
[INFO] [stdout] 2  | |
[INFO] [stdout] 3  | | use std::env;
[INFO] [stdout] 4  | | use std::path::PathBuf;
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |         .expect("Couldn't write bindings");
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `build.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `osclientcerts`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8cbea4edd27df376e4eefba3e0592ea327a18deed95617b58cd4906922d79efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cbea4edd27df376e4eefba3e0592ea327a18deed95617b58cd4906922d79efc", kill_on_drop: false }`
[INFO] [stdout] 8cbea4edd27df376e4eefba3e0592ea327a18deed95617b58cd4906922d79efc
